package com.xyc.student.controller.dto;

import com.xyc.student.entity.Menu;
import lombok.Data;

import java.util.List;

/**
 * @author Joel
 * @date 2022/2/25
 */

/*
接收前端登录请求的参数
登录名，密码
 */
@Data
public class UserDto {

    private String username;
    private String password;
    private String nickname;
    private String avatar;

    private String token;
    private String role; // 返回角色的权限  ROLE_ADMIN 或 ROLE_USER
    private List<Menu> menus;

}
